<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php 
	$ci = & get_instance();
	$tid = intval($_GET['tid']);
	$mid = intval($_GET['mid']);
	$TOURNAMENT = $ci->tournament_entity->init("id", $tid);
	$MATCH = $ci->match_entity->init('id',$mid);
	
	if(mCrypt($tid.$mid) != $_GET['scrid']){
		echo "Error";exit();
	}	 
	if($MATCH->getStatus() == 'closed' || $MATCH->getStatus() == 'cancelled'){
		$this->load->view('notify/match_closed_notify');exit();
	}
	 
?>


<!--
<div class="clrboth"></div>
<?php //$this->load->view('cricket/cricket/countdown_timeend_of_tournament'); ?>
<div class="clrboth"></div>	

<div class="sepDIV"></div>
-->
<div class="clrboth"></div>
<?php $this->load->view('cricket/cricket/countdown_timeend_of_upcoming_match'); ?>
<div class="clrboth"></div>	

<div class="sepDIV"></div>

<div class="clrboth"></div>
<?php $this->load->view('cricket/cricket/team_in_play_of_match'); ?>
<div class="clrboth"></div>	
	
<div class="sepDIV"></div>

<div class="clrboth"></div>
<?php $this->load->view('cricket/cricket/upcoming_matches_of_tournament2'); ?>
<div class="clrboth"></div>	

<div class="sepDIV"></div>

<div class="clrboth"></div>
<?php $this->load->view('cricket/cricket/closed_matches_of_tournament'); ?>
<div class="clrboth"></div>	
